<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/admin/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/admin/css/main.css"/>
    <script type="text/javascript" src="__PUBLIC__/static/admin/js/libs/modernizr.min.js"></script>

    <script type="text/javascript" src="__PUBLIC__/static/admin/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="__PUBLIC__/static/admin/ueditor/ueditor.all.js"></script>
    <script type="text/javascript" src="__PUBLIC__/static/admin/ueditor/lang/zh-cn/zh.cn.js"></script>
</head>
<body>
{include file="Public/top"}
<div class="container clearfix">
    {include file="Public/left" /}
    <!--/sidebar-->
    <div class="main-wrap">
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font">&#xe000;</i><a href="{:url('index/index')}">首页</a><span
                    class="crumb-step">&gt;</span><a class="crumb-name" href="{:url('lst')}">文章管理</a><span
                    class="crumb-step">&gt;</span><span>新增文章</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                <form action="" method="post" id="myform" name="myform"
                      enctype="multipart/form-data">
                    <table class="insert-tab" width="100%">
                        <tbody>
                        </tr>
                        <tr>
                            <th width="10%"><i class="require-red">*</i>文章标题：</th>
                            <td>
                                <input class="common-text required" id="title" name="title" size="50" value=""
                                       type="text"/>
                            </td>
                        </tr>
                        <tr>
                            <th>关键字：</th>
                            <td><input class="common-text" id="keywords" name="keywords" size="50" value=""
                                       type="text"></td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>缩略图</th>
                            <td><input name="pic" id="" type="file"></td>
                        </tr>
                        <tr>
                            <th>文章描述：</th>
                            <td><textarea name="desc" class="common-textarea" id="desc" cols="30" style="width: 50%;"
                                          rows="10"></textarea></td>
                        </tr>
                        <tr>
                            <th>所属栏目：</th>
                            <td>
                                <select name="cateid">
                                    {volist name="cates" id="vo"}
                                    <option value="{$vo.id}">{$vo.catename}</option>
                                    {/volist}
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <th>文章内容：</th>
                            <td><textarea name="content" class="common-textarea" id="container" cols="30" style="width: auto; height:auto;"
                                          rows="10"></textarea></td>
                        </tr>
                        <tr>
                            <th></th>
                            <td>
                                <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->
</div>
<script type="text/javascript">
    var ue = UE.getEditor('container',{initialFrameHeight:200});
</script>
</body>
</html>